package com.leoren.run.vo.apiVo;

/**
 * @ClassName WayPoint
 * @Auther Leoren
 * @Date 2020/1/28 17:20
 * @Desc :
 * @Version v1.0
 **/

public class WayPoint {

    private boolean isWaypoint;
    private LngLat location;
    private  String name;
    private String type;

    @Override
    public String toString() {
        return "WayPoint{" +
                "isWaypoint=" + isWaypoint +
                ", location=" + location +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public WayPoint() {
    }

    public WayPoint(boolean isWaypoint, LngLat location, String name, String type) {
        this.isWaypoint = isWaypoint;
        this.location = location;
        this.name = name;
        this.type = type;
    }

    public boolean isWaypoint() {
        return isWaypoint;
    }

    public void setWaypoint(boolean waypoint) {
        isWaypoint = waypoint;
    }

    public LngLat getLocation() {
        return location;
    }

    public void setLocation(LngLat location) {
        this.location = location;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
